#pragma once

#ifndef STATE_H
#define STATE_H

#include <d3dx9.h>
#pragma comment(lib, "d3dx9.lib")

template<typename T>
class State
{
public:
	virtual ~State() { }
	virtual void update(T* owner, float frameTime) = 0;
	virtual void draw(T* owner, ID3DXSprite* sprite) { }
};

#endif